package com.qfedu.yuxiaoer.mapper;

import com.qfedu.yuxiaoer.entity.TenantContractOccupant;
import com.qfedu.yuxiaoer.entity.TenantContractOccupantExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TenantContractOccupantMapper {
    long countByExample(TenantContractOccupantExample example);

    int deleteByExample(TenantContractOccupantExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TenantContractOccupant record);

    int insertSelective(TenantContractOccupant record);

    List<TenantContractOccupant> selectByExample(TenantContractOccupantExample example);

    TenantContractOccupant selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TenantContractOccupant record, @Param("example") TenantContractOccupantExample example);

    int updateByExample(@Param("record") TenantContractOccupant record, @Param("example") TenantContractOccupantExample example);

    int updateByPrimaryKeySelective(TenantContractOccupant record);

    int updateByPrimaryKey(TenantContractOccupant record);
}